package com.wxiao.exam.mapper;

import com.wxiao.exam.pojo.TeacherClassDO;
import com.wxiao.exam.pojo.vo.TeacherClassVO;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * <br/>
 * Created by wangxiao on 2019/07/08
 */
@Repository
public interface TeacherClassMapper {

    Integer addTeacherClass(TeacherClassVO teacherClassVO);

    Integer updateTeacherClass(TeacherClassVO teacherClassVO);

    TeacherClassDO findDetailTeacherClass(TeacherClassVO teacherClassVO);

    List<TeacherClassDO> listTeacherClass(TeacherClassVO teacherClassVO);

    List<TeacherClassDO> listTeacherClassPage(TeacherClassVO teacherClassVO);

    Integer countTeacherClass(TeacherClassVO teacherClassVO);

    Integer deleteTeacherClass(TeacherClassVO teacherClassVO);

    int deleteTeacherClassById(Integer tid);

    int batchaddTeacherClass(ArrayList<TeacherClassVO> list);
}
